package com.yanghongyue.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yanghongyue.reggie.bean.Setmeal;
import com.yanghongyue.reggie.bean.dto.SetmealDto;
import com.yanghongyue.reggie.common.CustException;

/**
 * @author HongyueYang
 */

public interface SetmealService extends IService<Setmeal> {
    //保存套餐
    void saveSetmealWithDish(SetmealDto dto);

    //根据id获取套餐
    SetmealDto getSetmealWithDish(Long id);

    //修改套餐
    void updateSetmealWithDish(SetmealDto dto);

    //删除套餐
    void deleteSetmealWithDish(Long[] ids)throws CustException;
}
